package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.itheima.dto.MealDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class Meal extends MealDto {
    private String Id;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;


    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
}

